angular.module('faApp')
  .service('withdrawService', [ 'ajaxService',function (ajaxService) {

    this.withdrawList = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("WITHDRAW_LIST"),cfg || {});
    };  
    
    this.bankList = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("WITHDRAW_ADD"),cfg || {});
    };  

    this.withdrawEdit = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("WITHDRAW_EDIT"),cfg || {});
    };  

    this.withdrawQuery = function (id) {
      return ajaxService.jsonp(ajaxService.getApiUri("WITHDRAW_QUERY"),{id:id});
    };   
}]);
 




